{assign var='statoAuth' value=$statoAuth|default:'non pervenuto'}
{assign var='logged' value=$logged|default:false}

<form method="post" action="index.php?ctrl=AppDefault&mobile=1">

<fieldset><legend>Stato Auth</legend>
{$statoAuth}
</fieldset>

<fieldset><legend>Dati Input Test</legend>

Template Mobile
{if $Auth.logged}
ciao {$nomeutente}
{else}

<table>
<tr><td>Username</td><td> <input type="text" name="username" value="{$username}"/> </td></tr>
<tr><td>Password</td><td><input type="text" name="password" value="{$password}"/></td></tr>

</table>
<button name=act value="login">Login</button>
<button name=act value="registrati">Registrati</button>

{/if}
<button name=act value="interrogazione">Ricerca</button>
</fieldset>


</form>


